import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 引入css
import "./assets/css/common.styl";

// 引入element-ui组件和css
import ElementUi from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.use(ElementUi);

// axios
import axios from "./axios/http";
import VueAxios from "vue-axios";

Vue.use(VueAxios, axios);

// 引入vuex
import Vuex from "vuex";

Vue.use(Vuex);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
